Implemented login via CLI