added functions

now displays a form for editing the user's details