Add login popup, improve user authentication process (still not storing cookies across reload)