Viewed module restrictions

Still need to get profile page js working