Activate login_init function