reading profile data from db