Login and user story 1 proto-logic