added nickname functionality