Applied small fix to login logic.
Removed unnecessary console.log calls.
Fixed security, now we restrict access to secured areas.
Merge remote-tracking branch 'origin/master'