Move login package to shared library - basic