AssertionError

Fix Assertion Error
Fix NullPointerException
Add a way to make sure the connection of mysql is available
Fix HmacSHA256