Large update, implementing session authentication and more