fix an issue where an error is thrown when the user attempts to edit while not logged it
Merge branch 'master' of github.com:stuycs-softdev/proj1-7