updated login form ready to connect to sql db