Update the gitignore file and implement the logout function

and partial view