Divide functions related to user, login.