add success method
up

Conflicts:
	controller/login.py