Version 0.3.0 with separated authorize and login