Bump version code to 3 (0.3).
Move background login action to service.