Login functionality created.
Added a new function to DBTools