Complete login Mechanism