now registration and login used prepared statements and the recommended way of storing passwords is used. Still need to check if password is strong enough and add a password generator. Some more testing as well is needed.