added some functionality to loginform; added security module (not yet hashing pword)