Bug fixes

Better Ticraft login screen
Fixed redeclaration of methods in Database class
Fix cipher bug when array was passed
Various bug fixes