Fixing session information
Adding function to get information about the current user