added the rest methods for user