Added all the methods for the user controller