tidied up files and fixed password registration field