Strengthening Authentication And Integrity In Web Applications