Added code for login interface

Completely secure!