Added log in and sign up functionality with devise