Basic API module with login.