Adds Authorization; Re-factors change password sessions;

Signed-off-by: ashwinh <ashwinh@cybage.com>