Moved auth code its own class
Server add succsess