created onclicklisteners for nav buttons in nickname