commit 2: login + register