fixed some of the login form and added some to-dos