Yes, an agreement is signed at the beginning of our contract which clearly states that all code and right to the application belongs to the client.