added passwordr function and modified PS1