Finish the login and starting to do the basis for the add of the spent

Signed-Of-By: Ruyther Costa <ruy_fusion@hotmail.com>