added so that if an action is set the create post for a user won't attemt to login the new user