fixed redirect loop. #82
fixed links on profile. #82