Minor code refactor

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>
Added change password functionality #35

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>