Update login and signup method. Remove commit, it didn't had anything to do with the problems