Changed source to mkd
optimized authentication, autoset server