changed menu to check login