Integration tests added, validation moved to helper, Ip restriction added