can log in and register. working on session