encoding password into base64 - a bit more secure