changed login flow! made login mandatory