setting up form for login