Updated flow so that signing up for a new account automatically logs in.