Specs for login mechanims added, flash for successful login added