fixed authenticate
adding bootstrap templates