before creating UserController
login seems to work
fixed refreshing issues
merged branch