Updates to login, controller, interface

Began on Forwarding Interface functionality

Added update statements to Controller

Added get_ldap_flag function to Controller... this is for login
authentication with an existing account coming from the ldap server.

Changes to the login page in preparation for LDAP