added get method to profile route