login function but w/o encryption
encrypt password POST data