Why do I have to log in everytime now?

I had the same problem a year ago when i got a new phone, it worked itself out affter a few weeks