I have organized some things together and I have created a login-form, and have stored the password in the database by encrypting it. i have also created salt for my password.