added login views and user authentication