What i understood is you need user to login the application so for that i would suggest you
to check this link, where you will find many popups(open small window) with nice look and feel.
go for this link, provided demo with documentation
http://jquerymsgbox.ibrahimkalyoncu.com/[
^]
Hope this will help you in one or other way