Some bug fixes and addings on login form