Added profile controller and ran more tests