Fixed argument type mismatch in ProfileController