Finish impliementing a simple login flow