Login Working

fixed the login page and edited most of the object so they are
compatible with LogosDB 1.4.* API