Fixed the sign-in view and implemented methods in sessions controller