Added sessions an check for authorizations and created file for edit login and password