working register/login, some crud