login and set server key

login and set server key