View Profile + templates + index function to show links for login,logout

Deleted unwanted files

flake8 errors

Changes according to comments

Removed credentials

Removed new lines

get_object_or_404 in views and helper function in tests