More checks added

Mostly to make sure if a user is in archived mode, the project they want
to view is actually archived. Also if a user is trying to normally view
a project, make sure the project isn't archived