add sign in on server
add callbacks