Switch console.log for the link button and register fail to alert

Signed-off-by: Cody Massin <keyosk@gmail.com>