Overall loging in is better.
Write the /whois command.
/nick won't change the nick if it has already been taken.
The /nick commend also changes the nick in the database