Remember user and password in my Ionic APP

Hello, I have a problem because in my app I need to put a login and password to access and when I access and press physical button return of my smartphone and I leave my app, if I access appear again login page so… my app don’t remember user and password. Somebody know how can I solve it?
Thanks in advance.

Best regards.