fixed bug in UserSessions as $row->identity should be $row->{$this->options['login_identity']}