fixing assignServer page redirection & id bug