LDAP Implementation

Allows the user to log in using both databases: Weby or LDAP
Use def with parentheses when there are parameters.<br>Surrounding space missing in default value assignment.