working facebook login and menucard states