updates for session fixation removal, database case sensitivity