Fixed database migrations and association between profiles and apns
Updated .gitignore
last changes