used crypto to hash the login information  as well.