Getting the profile of a btr user and storing it in session.
Functions for debug.