Login functionality done. But flashing error messages not yet working.