completing login / logout from header