Refactor made for start activity acording to role, also added more security on passwords