Removing notices from checkCredentials

This function doesn't receive any parameters, so some variables was used
but not initializated before.
Removing notices checkCredentials and codeRegister

These function doesn't receive any parameters, so some variables was
used
but not initializated before.
correct identation

correct identation
identation ajust
Merge pull request #33 from alesantosp/alesantosp

Removing notices from checkCredentials and codeRegister