changed menu to check login
changed menu to check login