Implemented User association and login/logout