Fixed UserSession management and AdminController implementation bug (need testing)