Added framework for secure user authentication