Create form for login and add submit javascript