Menu property added to abstractviewmodel so the loginbutton can be updated when you login from anywhere.