Using Rails tutorial to make authentication system