Implement function in UserHandler, add enum result-class for signup and login results