Angular-devise modifications

To restore user sessions in between page refreshes