added login form for authentication