Added get_user, which is a function to look up users based on session ids