Implemented storage of profiles in user database