Added methods to User controller