implemented signin/singup/push notifications.