add loginview for user authentication