User authentication

Added user authentication in user model and controller. Added session create and destroy. Added current_user helper method. Changed the users routes.