seperate login and register server