assertions implemented. fixed some bugs. Login/logout/login bug still exists