Hi @arjanski,
Thank you for your feedback,
Which version of Mattermost server are you using?
Have you tried changing the session length in the system console to a longer time period? (Main Menu > System Console > Security > Sessions)
Let me know if this helps?