added profile controller
added profiles and tests