added kind of interface for new, needed functions
added only a tiny kind of security - sha1 is encrypting the password