fixed front end test for profile page this closes #24.