Login Function Added

Login And logout Functions Added