added password editing option and cleaned code
Merge branch 'master' of https://github.com/paulmoon/seng422