Added logging and DB errata, also fixed enter key breaking login and spelling