Log Out

Implemented log out function