LDAP Implementation

Allows the user to log in using both databases: Weby or LDAP
Redundant curly braces around a hash parameter.