implement login from top nav