Fixing some bugs with log in state, oops i was tired