Add 'login' feature with tests