added basic file authentication, login service for client