https://gist.github.com/Bartmr/b6845316d5513f1f59ed0002e3675ed3
If you need more help just DM me

writen by Bartolomeu Rodrigues
I am not really sure I understand how to proper set it up so that I can always check if the user is logged in any part of my application
author Tiago Ferreira
Do you want to ask a question?