Implemented user database methods