Procedure for logging into database.

Procedure for logging into database. use autonomous transaction.