push notifications saved in database & auto login with webservice