add login, add some part of register (TODO:show errors), add sessions, add logout, add table to registered user