Added refactor note
Slight refactor of user login