added feature test for authentication. Added relevant views to implement logging in