added more secure log in