made changes to master and edit views and added flash message to homecontroller for logging out