Added form for user details
Made log in more flexible.