Login code completed

Javascript login code completed. Language functionallity, Caps lock
notification and Session manager