Trying to get login working

added session fields to user table; corrected some of the session names.