add validate regular express for username and password to MBUtilities
add validate to register function
change to save login credential after finish login
add new method to show UIAlertView