methods moved to user controller from users controller