Add login functionality (WIP)