Update get_user_info() and start adding settings.

We now use session_data directly in the views and only use the get_user_info function when we need to retrieve user data from the database.

This will return an array that can in turn be passed to views to be used.