Implemented add function for User