• You can script out the logins and database jobs and run them in master and msdb databases respectively on the secondary server(which is now online)

    For user mapping use sp_change_users_login which maps the SIDs of the logins and users.