Finish loggin on server side.