User check methods now throw exceptions

IllegalArgumentException is now thrown if the username, password or
email doesn't meet the requirements. Made the methods static and added
documentation as well.