cleanup and password improvements.
made thing more reusable by using relative path for crypto pages.
Database update