User Login, Indexing for Sessions

User login is implemented! Progress page doesn't filter by username
still though -- need to look into that.
Session indexing was off by one.