working search results
merged exam purchase button with link to exam; also added register to purchase button if user not logged in;also dynamically rendered search results after login