LDAP Implementation

Allows the user to log in using both databases: Weby or LDAP
Use the new Ruby 1.9 hash syntax.