Added login flow. Need to do real authentication on server.