Fixes #4 - Login is now working and remember credentials if required