Library 1.0

Now all working with login.