Made login match against database username/password